public class demo1 {
    public static void main(String[] args) {
        int[][] arry = {
                {1, 2, 3, 4},
                {5, 6, 7, 8, 9, 10}
        };
        for (int i = 0; i < arry.length; i++) {
            for (int j = 0; j < arry[i].length; j++) {
                System.out.print(arry[i][j]+ " ");
            }
            System.out.println(" ");
        }
    }
}
